<template>
  <div id="app">
    <!-- <h1>黑马头条内容后台管理系统</h1> -->
    <!-- <el-button type="primary" @click="onTest">测试axios按钮</el-button> -->
    <router-view/>
  </div>
</template>

<script>
import ajax from './utils/request.js';
export default {
  name: 'App',
  data () {
    return {

    };
  },
  methods: {
    onTest () {
      console.log(111);
      ajax({
        method: 'GET',
        url: '/app'
      });
    }
  }
};
</script>
